import request from '@/utils/request'

// 查询个人测评成绩报告列表
export function listResult_personal(query) {
  return request({
    url: '/system/result_personal/list',
    method: 'get',
    params: query
  })
}
// 查询团体测评成绩报告列表
export function listResult_total(query) {
  return request({
    url: '/system/result_personal/team_list',
    method: 'get',
    params: query
  })
}
// 查询预警个人测评成绩报告列表
export function listwarninglist(query) {
  return request({
    url: '/system/result_personal/warninglist',
    method: 'get',
    params: query
  })
}

// 查询个人测评成绩报告详细
export function getResult_personal(resultId) {
  return request({
    url: '/system/result_personal/' + resultId,
    method: 'get'
  })
}

// 新增个人测评成绩报告
export function addResult_personal(data) {
  return request({
    url: '/system/result_personal',
    method: 'post',
    data: data
  })
}

// 修改个人测评成绩报告
export function updateResult_personal(data) {
  return request({
    url: '/system/result_personal',
    method: 'put',
    data: data
  })
}

// 删除个人测评成绩报告
export function delResult_personal(resultId) {
  return request({
    url: '/system/result_personal/' + resultId,
    method: 'delete'
  })
}

